#ifndef _SOUND_H_
#define _SOUND_H_

struct Mix_Chunk;

#include <string>

class Sound
{
public:
	Sound();
	~Sound();

	bool Open(const std::string & name);
	void Close();

	int Play(int chan, int loop);

private:
	Mix_Chunk *chunk;
};

#include "assets.hpp"
extern Assets<Sound> AllSnds;

#endif
